import 'dart:ui';

class delegationmodel{
  final String time;
  final String time1;
  final String title1;
  final String title2;
  final String number;
  final String price;
  final String number1;
  final String number2;
  final String number3;
  final String number4;
  final String number5;
  final Color color1;
  final Color color2;

  delegationmodel({this.time, this.time1,this.title1, this.title2, this.number, this.price, this.number1, this.number2, this.number3, this.number4,this.number5,this.color1,this.color2});

  factory delegationmodel.fromJson(Map<String,dynamic> json){
    return delegationmodel(
      time: json['time'],
      time1: json['time1'],
      title1:json['title1'],
      title2: json['title2'],
      number:json['number'],
      price: json['price'],
      number1: json['number1'],
      number2: json['number2'],
      number3: json['number3'],
      number4: json['number4'],
      number5: json['number5'],
      color1: json['color1'],
      color2: json['color2']
    );
  }
  Map<String,dynamic> toJson()=>{
    'time':time,
    'time1':time1,
    'title1':title1,
    'title2':title2,
    'number':number,
    'price':price,
    'number1':number1,
    'number2':number2,
    'number3':number3,
    'number4':number4,
    'number5':number5,
    'color1':color1,
    'color2':color2
  };
}